package com.android.androidbigwork.utils;

import android.app.Application;
import android.os.StrictMode;
import org.xutils.x;

// 在application的onCreate中初始化
public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        //xUtils3初始化
        x.Ext.init(this);

        x.isDebug();

        StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
        StrictMode.setVmPolicy(builder.build());
        builder.detectFileUriExposure();
    }
}
